package statis

type QKStatis struct{}

type AllProfit struct {
	DateFlag            string `json:"date_flag"`
	WashingOrders       int    `json:"washing_orders"`
	RechargeOrders      int    `json:"recharge_orders"`
	WashingPeer         int    `json:"washing_peer"`
	RechargePeer        int    `json:"recharge_peer"`
	WashingTotal        string `json:"washing_total"`
	RechargeTotal       string `json:"recharge_total"`
	Total               string `json:"total"`
	WashingDiscount     string `json:"washing_discount"`
	RechargeDiscount    string `json:"recharge_discount"`
	WashingCashDiscount string `json:"washing_cash_discount"`
	WashingQBDiscount   string `json:"washing_qb_discount"`
	WashingCashPart     string `json:"washing_cash_part"`
	WashingQBPart       string `json:"washing_qk_part"`
}

type WashRoomProfit struct {
	LeagueProfit
	WashRoomId string `json:"washroom_id"`
}

type LeagueProfit struct {
	DateFlag        string `json:"date_flag"`
	LeagueId        string `json:"league_id"`
	LeagueName      string `json:"league_name"`
	WashingOrder    int    `json:"washing_order"`
	WashingProfit   string `json:"washing_profit"`
	WashingTotal    string    `json:"washing_total"`
	WashingDiscount string    `json:"washing_discount"`
	WashingPeer     int    `json:"washing_peer"`
	WasherNumActive int    `json:"washer_num_active"`
	WasherNumUse    int    `json:"washer_num_use"`
	So1m            string `json:"s_o1m"`
	Sp1m            string `json:"s_p1m"`
	Lo1m            string `json:"l_o1m"`
	Lp1m            string `json:"l_p1m"`
	O1u             string `json:"o1u"`
	U1m             string `json:"u1m"`
	//	WashRoomName    string `json:"washroom_name"`
}

type WasherProfit struct {
	DateFlag      string `json:"date_flag"`
	WasherId      string `json:"washer_id"`
	WashRoomId    string `json:"wash_room_id"`
	WashingOrder  int    `json:"washing_order"`
	WashingProfit string `json:"washing_profit"`
	WashingPeer   int    `json:"washing_peer"`
	WashingTotal  int    `json:"washing_total"`
}

type ShowItemReq struct {
	PageIndex int  //分页页码
	PageSize  int  //分页大小
	Role      bool //访问角色, 客户端-true, 后台-false
}

type ShowItemResp struct {
	Code      uint
	Msg       string
	Data      []interface{}
	HasMore   bool
	Total     int
	PageIndex int //分页页码
	PageSize  int //分页大小
}
